package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.FileUploadInfo;
import com.ruoyi.system.domain.SjElecCost;

import java.util.List;

public interface FileUploadMapper {

    int insertFileUpload(FileUploadInfo fileUploadInfo);

    List<FileUploadInfo> getFileUploadListByKey(String belongKey);
    //文件置失效
    int deleteFile(String fileId);
    //合同数据被删除时，同时删除所有文件记录
    int deleteAll(String[] belongKeys);

    Integer getFileCountByKey(String belongKey);

}
